package com.sunda.spmsorder.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * SRM长协表
 * </p>
 *
 * @author Wayne
 * @since 2021-01-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("MATERIAL_SRM_LONG_CONTRACT")
@ApiModel(value="MaterialSrmLongContract对象", description="SRM长协表")
public class MaterialSrmLongContract implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "物料编号")
    @TableField("MATERIAL_NO")
    private String materialNo;

    @ApiModelProperty(value = "长协编号")
    @TableId("LONG_CONTRACT_CODE")
    private String longContractCode;

    @ApiModelProperty(value = "供应商编号")
    @TableField("SUPPLIER_CODE")
    private String supplierCode;

    @ApiModelProperty(value = "供应商名称")
    @TableField("SUPPLIER_NAME")
    private String supplierName;

    @ApiModelProperty(value = "有效期起始日")
    @TableField("START_DATE")
    private String startDate;

    @ApiModelProperty(value = "有效期截止日")
    @TableField("END_DATE")
    private String endDate;

    @ApiModelProperty(value = "工厂")
    @TableField("WERKS")
    private String werks;

    @ApiModelProperty(value = "采购组织")
    @TableField("PROCUREMENT_ORGANIZATION")
    private String procurementOrganization;

    @ApiModelProperty(value = "含税价")
    @TableField("TAX_PRICE")
    private Double taxPrice;

    @ApiModelProperty(value = "数量")
    @TableField("QUANTITY")
    private String quantity;

    @ApiModelProperty(value = "单位")
    @TableField("UNIT")
    private String unit;

    @ApiModelProperty(value = "币种")
    @TableField("CURRENCY_CODE")
    private String currencyCode;

    @ApiModelProperty(value = "链接地址")
    @TableField("MATERIAL_PIC_LINK")
    private String materialPicLink;

    @ApiModelProperty(value = "税码")
    @TableField("TAX_CODE")
    private String taxCode;

    @ApiModelProperty(value = "税率")
    @TableField("TAX_RATE")
    private String taxRate;

    @ApiModelProperty(value = "采购周期")
    @TableField("PURCHASING_CYCLE")
    private String purchasingCycle;

    @ApiModelProperty(value = "最小包装数量")
    @TableField("MIN_PACK_QUANTITY")
    private String minPackQuantity;

    @ApiModelProperty(value = "最小订单数量")
    @TableField("MIN_ORDER_QUANTITY")
    private String minOrderQuantity;

    @ApiModelProperty(value = "品牌")
    @TableField("BRAND")
    private String brand;

    @ApiModelProperty(value = "货源地")
    @TableField("SOURCE_GOODS")
    private String sourceGoods;

    @ApiModelProperty(value = "spms状态")
    @TableField("SPMS_STATUS")
    private String spmsStatus;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getMaterialNo() {
        return materialNo;
    }

    public void setMaterialNo(String materialNo) {
        this.materialNo = materialNo;
    }

    public String getLongContractCode() {
        return longContractCode;
    }

    public void setLongContractCode(String longContractCode) {
        this.longContractCode = longContractCode;
    }

    public String getSupplierCode() {
        return supplierCode;
    }

    public void setSupplierCode(String supplierCode) {
        this.supplierCode = supplierCode;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public String getWerks() {
        return werks;
    }

    public void setWerks(String werks) {
        this.werks = werks;
    }

    public String getProcurementOrganization() {
        return procurementOrganization;
    }

    public void setProcurementOrganization(String procurementOrganization) {
        this.procurementOrganization = procurementOrganization;
    }

    public Double getTaxPrice() {
        return taxPrice;
    }

    public void setTaxPrice(Double taxPrice) {
        this.taxPrice = taxPrice;
    }

    public String getQuantity() {
        return quantity;
    }

    public void setQuantity(String quantity) {
        this.quantity = quantity;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getCurrencyCode() {
        return currencyCode;
    }

    public void setCurrencyCode(String currencyCode) {
        this.currencyCode = currencyCode;
    }

    public String getMaterialPicLink() {
        return materialPicLink;
    }

    public void setMaterialPicLink(String materialPicLink) {
        this.materialPicLink = materialPicLink;
    }

    public String getTaxCode() {
        return taxCode;
    }

    public void setTaxCode(String taxCode) {
        this.taxCode = taxCode;
    }

    public String getTaxRate() {
        return taxRate;
    }

    public void setTaxRate(String taxRate) {
        this.taxRate = taxRate;
    }

    public String getPurchasingCycle() {
        return purchasingCycle;
    }

    public void setPurchasingCycle(String purchasingCycle) {
        this.purchasingCycle = purchasingCycle;
    }

    public String getMinPackQuantity() {
        return minPackQuantity;
    }

    public void setMinPackQuantity(String minPackQuantity) {
        this.minPackQuantity = minPackQuantity;
    }

    public String getMinOrderQuantity() {
        return minOrderQuantity;
    }

    public void setMinOrderQuantity(String minOrderQuantity) {
        this.minOrderQuantity = minOrderQuantity;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getSourceGoods() {
        return sourceGoods;
    }

    public void setSourceGoods(String sourceGoods) {
        this.sourceGoods = sourceGoods;
    }

    public String getSpmsStatus() {
        return spmsStatus;
    }

    public void setSpmsStatus(String spmsStatus) {
        this.spmsStatus = spmsStatus;
    }

    @Override
    public String toString() {
        return "MaterialSrmLongContract{" +
                "materialNo='" + materialNo + '\'' +
                ", longContractCode='" + longContractCode + '\'' +
                ", supplierCode='" + supplierCode + '\'' +
                ", supplierName='" + supplierName + '\'' +
                ", startDate='" + startDate + '\'' +
                ", endDate='" + endDate + '\'' +
                ", werks='" + werks + '\'' +
                ", procurementOrganization='" + procurementOrganization + '\'' +
                ", taxPrice=" + taxPrice +
                ", quantity='" + quantity + '\'' +
                ", unit='" + unit + '\'' +
                ", currencyCode='" + currencyCode + '\'' +
                ", materialPicLink='" + materialPicLink + '\'' +
                ", taxCode='" + taxCode + '\'' +
                ", taxRate='" + taxRate + '\'' +
                ", purchasingCycle='" + purchasingCycle + '\'' +
                ", minPackQuantity='" + minPackQuantity + '\'' +
                ", minOrderQuantity='" + minOrderQuantity + '\'' +
                ", brand='" + brand + '\'' +
                ", sourceGoods='" + sourceGoods + '\'' +
                ", spmsStatus='" + spmsStatus + '\'' +
                '}';
    }
}
